<template>
  <div>
    <son></son>
    <hr />
  </div>
</template>

<script>
import son from "./son.vue";
export default {
  name: "father",
  components: {
    son,
  },
  provide() {
    return {
      app: this,
    };
  },
  data() {
    return {
      msgData: "父组件数据",
      currentIndex: -1,
      articleList: ["红楼梦", "西游记", "三国演义"],
    };
  },
};
</script>
<style scoped lang="less"></style>
